import React from 'react'
import { PageHeader } from 'antd'
// 引入Navigation
import Navigation from './Navigation'

function Layout({ children, title, subTitle }) {
	return (
		<>
			<Navigation></Navigation>
			<PageHeader
    		className="jumbotron"
    		title={ title }
    		subTitle={ subTitle }
  		/>	
			<div style={{width:'85%', margin: "0 auto"}}>{children}</div>
		</>
	)
}

export default Layout
